﻿// -------------------------------------------------------------------------
//    @FileName         :    NFOnlineUtil.h
//    @Author           :    gaoyi
//    @Date             :    24-8-22
//    @Email            :    445267987@qq.com
//    @Module           :    NFOnlineUtil
//
// -------------------------------------------------------------------------

#pragma once

#include "NFComm/NFObjCommon/NFObject.h"

class NFSession;
class NFPlayer;

class NFOnlineUtil
{
public:
    static int KickOff(uint64_t ullRoleID, int iReason, const char *reasonStr = "");

    static int KickOff(NFSession *pSession, int iReason);

    static int NotifyOnlineRewardData(NFPlayer *pPlayer);

    static int OnPlayerLevelUp(NFPlayer *pPlayer);
};
